package com.exercise01;

public abstract class Employee {
    private String name;
    private String sex;
    private int age;
    public abstract String work();

    Employee(){}
    Employee(String name,String sex,int age){
        this.name = name;
        this.sex = sex;
        this.age = age;
    }



    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getSex() {
        return sex;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public int getAge() {
        return age;
    }


}
